package cn.lysj.framework.pirpraph.repository;

import cn.lysj.framework.base.BaseRepository;
import cn.lysj.framework.pirpraph.domain.FoodReport;

import java.util.List;

/**
 * @author drj
 * @description 菜品数量报表统计数据处理层
 * @create 2019-01-22 16:21:18
 **/
public interface FoodReportRepository extends BaseRepository<FoodReport> {

    //根据门店id查询,按照平台销量倒序
    List<FoodReport> findByStoreIdOrderByPlatNumberDesc(String storeId);

    FoodReport findByFoodId(String foodId);

}